
import Vue from 'vue'
import Router from 'vue-router'
import Home from '../components/home.vue'
import Dashboard from '../components/dashboard.vue'
import Index from '../components/common/index.vue'
import homepage from '../components/primary/homepage.vue'
import individual from '../components/primary/individual.vue'
import information from '../components/primary/information.vue'

Vue.use(Router)


export default new Router({
    routes:[{
        path: '/',
        component: Home,
        children: [{
            path: '/',
            component: function (resolve) {require(['../components/primary/homepage.vue'], resolve)}
        },]
    },
    {
        path: '/login',
        component: function (resolve) {require(['../components/login.vue'], resolve)},
    },
    {
        path: '/',
        component: Home,
        children: [{
            path: 'refresh',
            component: function (resolve) {require(['../components/refresh.vue'], resolve)},
            name: 'refresh'
        }]
    },
    {
        path: '/',
        component: Home,
        children: [{
            path: 'trainee/detail/:id',
            component: function (resolve) {require(['../components/trainee/detail.vue'], resolve)},
            name: 'traineeDetail',
        },
        {
            path: 'trainee/search',
            component: function (resolve) {require(['../components/trainee/search.vue'], resolve)},
            name: 'traineeSearch',
            meta: {
                keepAlive: true
            }
        },
        {
            path: 'trainee/add',
            component: function (resolve) {require(['../components/trainee/add.vue'], resolve)},
            name: 'traineeAdd'
        },
        {
            path: 'trainee/list',
            component: function (resolve) {require(['../components/trainee/list.vue'], resolve)},
            name: 'traineeList',
            meta: {
                keepAlive: true
            }
        },
        {
            path: 'trainee/intention',
            component: function (resolve) {require(['../components/trainee/intention.vue'], resolve)},
        },
        ]
    },
    {
        path: '/',
        component: Home,
        children: [{
            path: 'customer/add',
            component: function (resolve) {require(['../components/customer/add.vue'], resolve)},
            name: 'customerAdd'
        },
        {
            path: 'customer/search',
            component: function (resolve) {require(['../components/customer/search.vue'], resolve)},
            name: 'customerSearch',
            meta: {
                keepAlive: true
            }
        },
        {
            path: 'customer/list',
            component: function (resolve) {require(['../components/customer/list.vue'], resolve)},
            name: 'customerList',
            meta: {
                keepAlive: true
            }
        },
        {
            path: 'customer/detail/:id',
            component: function (resolve) {require(['../components/customer/detail.vue'], resolve)},
            name: 'customerDetail'
        }, {
            path: 'customer/customerIntention',
            component: function (resolve) {require(['../components/customer/intention.vue'], resolve)},
    
        }]
    },
    {
        path: '/',
        component: Home,
        children: [{
            path: 'training/list',
            component: function (resolve) {require(['../components/training/list.vue'], resolve)},
            meta: {
                keepAlive: true
            }
        }, {
            path: 'training/addProject',
            component: function (resolve) {require(['../components/training/addProject.vue'], resolve)},
            meta: {
                keepAlive: true
            }
        }, {
            path: 'training/projectDetail/:id',
            component: function (resolve) {require(['../components/training/projectDetail.vue'], resolve)},
        }, {
            path: 'training/add',
            component: function (resolve) {require(['../components/training/add.vue'], resolve)},
        }, {
            path: 'training/listDetail/:id',
            component: function (resolve) {require(['../components/training/listDetail.vue'], resolve)},
        }, {
            path: 'training/edit/:id',
            component: function (resolve) {require(['../components/training/edit.vue'], resolve)},
        },]
    },
    {
        path: '/',
        component: Home,
        children: [{
            path: 'operate/supplier/hotel',
            component: function (resolve) {require(['../components/operate/supplier/hotel.vue'], resolve)},
            meta: {
                keepAlive: true
            }
        },
        {
            path: 'operate/supplier/hotelDetail/:id',
            // component: hotelDetail
            component: function (resolve) {require(['../components/operate/supplier/hotelDetail.vue'], resolve)}
        },
        {
            path: 'operate/supplier/other',
            // component: other,
            component: function (resolve) {require(['../components/operate/supplier/other.vue'], resolve)},
            meta: {
                keepAlive: true
            }
        },
        {
            path: 'operate/supplier/otherDetail/:id',
            // component: otherDetail
            component: function (resolve) {require(['../components/operate/supplier/otherDetail.vue'], resolve)}
        },
        {
            path: 'operate/manpower/employee',
            // component: employee
            component: function (resolve) {require(['../components/operate/manpower/employee.vue'], resolve)},
            meta: {
                keepAlive: true
            }
        },
        {
            path: 'operate/manpower/list',
            // component: employeeList,
            component: function (resolve) {require(['../components/operate/manpower/list.vue'], resolve)},
            meta: {
                keepAlive: true
            }
        },
        {
            path: 'operate/manpower/listDetail/:id',
            // component: employeeDetail
            component: function (resolve) {require(['../components/operate/manpower/listDetail.vue'], resolve)}
        },
        {
            path: 'operate/manpower/recruit',
            // component: recruit,
            component: function (resolve) {require(['../components/operate/manpower/recruit.vue'], resolve)},
            meta: {
                keepAlive: true
            }
        },
        {
            path: 'operate/manpower/recruitDetail/:id',
            // component: recruitDetail
            component: function (resolve) {require(['../components/operate/manpower/recruitDetail.vue'], resolve)}
        },
        {
            path: 'operate/manpower/timeSheet',
            // component: timeSheet
            component: function (resolve) {require(['../components/operate/manpower/timeSheet.vue'], resolve)},
            meta: {
                keepAlive: true
            }
        },
        {
            path: 'operate/manpower/courseMoney',
            // component: courseMoney
            component: function (resolve) {require(['../components/operate/manpower/courseMoney'], resolve)},
            meta: {
                keepAlive: true
            }
        },
        {
            path: 'operate/assets/house',
            // component: house,
            component: function (resolve) {require(['../components/operate/assets/house.vue'], resolve)},
            meta: {
                keepAlive: true
            }
        },
        {
            path: 'operate/assets/houseDetail/:id',
            // component: houseDetail
            component: function (resolve) {require(['../components/operate/assets/houseDetail.vue'], resolve)}
        },
        {
            path: 'operate/assets/office',
            // component: office,
            component: function (resolve) {require(['../components/operate/assets/office.vue'], resolve)},
            meta: {
                keepAlive: true
            }
        },
        {
            path: 'operate/assets/officeDetail/:id',
            // component: officeDetail
            component: function (resolve) {require(['../components/operate/assets/officeDetail.vue'], resolve)}
        },
        {
            path: 'operate/assets/transport',
            // component: transport,
            component: function (resolve) {require(['../components/operate/assets/transport.vue'], resolve)},
            meta: {
                keepAlive: true
            }
        },
        {
            path: 'operate/assets/transportDetail/:id',
            // component: transportDetail
            component: function (resolve) {require(['../components/operate/assets/transportDetail.vue'], resolve)}
        },
        {
            path: 'operate/assets/other',
            // component: assetsOther,
            component: function (resolve) {require(['../components/operate/assets/other.vue'], resolve)},
            meta: {
                keepAlive: true
            }
        },
        {
            path: 'operate/assets/facilities/classroom',
            // component: classroom,
            component: function (resolve) {require(['../components/operate/assets/facilities/classroom.vue'], resolve)},
            meta: {
                keepAlive: true
            }
        },
        {
            path: 'operate/assets/facilities/classroomDetail/:id',
            // component: classroomDetail
            component: function (resolve) {require(['../components/operate/assets/facilities/classroomDetail.vue'], resolve)}
        },
        {
            path: 'operate/assets/facilities/simulator',
            // component: simulator,
            component: function (resolve) {require(['../components/operate/assets/facilities/simulator.vue'], resolve)},
            meta: {
                keepAlive: true
            }
        },
        {
            path: 'operate/assets/facilities/simulatorDetail/:id',
            // component: simulatorDetail
            component: function (resolve) {require(['../components/operate/assets/facilities/simulatorDetail.vue'], resolve)}
        },
        {
            path: 'operate/assets/facilities/book',
            // component: book,
            component: function (resolve) {require(['../components/operate/assets/facilities/book.vue'], resolve)},
            meta: {
                keepAlive: true
            }
        },
        {
            path: 'operate/assets/facilities/bookDetail/:id',
            // component: bookDetail
            component: function (resolve) {require(['../components/operate/assets/facilities/bookDetail.vue'], resolve)}
        },
        {
            path: 'operate/assets/facilities/textbook',
            // component: textbook,
            component: function (resolve) {require(['../components/operate/assets/facilities/textbook.vue'], resolve)},
            meta: {
                keepAlive: true
            }
        },
        {
            path: 'operate/assets/facilities/textbookDetail/:id',
            // component: textbookDetail
            component: function (resolve) {require(['../components/operate/assets/facilities/textbookDetail.vue'], resolve)}
        },
        {
            path: 'operate/finance/wxPayRecord',
            // component: wxPayRecord,
            component: function (resolve) {require(['../components/operate/finance/wxPayRecord'], resolve)}
        },
        ]
    
    
    },
    {
        path: '/',
        component: Home,
        children: [{
            path: 'course/add',
            component: function (resolve) {require(['../components/course/add.vue'], resolve)},
            name: 'courseAdd'
        },
        {
            path: 'course/list',
            component: function (resolve) {require(['../components/course/list.vue'], resolve)},
            name: 'courseList',
            meta: {
                keepAlive: true
            }
        },
        {
            path: 'course/detail/:id',
            component: function (resolve) {require(['../components/course/detail.vue'], resolve)},
            name: 'courseDetail'
        },
        {
            path: 'course/calendar',
            component: function (resolve) {require(['../components/course/calendar.vue'], resolve)},
            name: 'calendar',
            meta: { 
                keepAlive: true
            }
        },
        ]
    },
    {
        path: '/',
        component: Home,
        children: [{
            path: 'question/add',
            component: function (resolve) {require(['../components/question/add.vue'], resolve)},
            name: 'questionAdd'
        },
        {
            path: 'question/search',
            component: function (resolve) {require(['../components/question/search.vue'], resolve)},
            name: 'questionSearch',
            meta: {
                keepAlive: true
            }
        },
        {
            path: 'question/list',
            component: function (resolve) {require(['../components/question/list.vue'], resolve)},
            name: 'questionList',
            meta: {
                keepAlive: true
            }
        },
        {
            path: 'question/detail/:id',
            component: function (resolve) {require(['../components/question/detail.vue'], resolve)},
            name: 'questionDetail'
        },
        ]
    },
    {
        path: '/',
        component: Home,
        children: [{
            path: 'system/user',
            // component: userList,
            name: 'userList',
            component: function (resolve) {require(['../components/system/user.vue'], resolve)}
        }, {
            path: 'system/group',
            // component: groupList,
            name: 'groupList',
            component: function (resolve) {require(['../components/system/group.vue'], resolve)}
        }, {
            path: 'system/WeChatPay',
            // component: WeChatPay,
            name: 'WeChatPay',
            component: function (resolve) {require(['../components/system/WeChatPay.vue'], resolve)}
        }, {
            path: 'system/webHome',
            // component: webHome,
            name: 'webHome',
            component: function (resolve) {require(['../components/system/webHome.vue'], resolve)}
        }, {
            path: 'system/webAbout',
            // component: webAbout,
            name: 'webAbout',
            component: function (resolve) {require(['../components/system/webAbout.vue'], resolve)}
        }, {
            path: 'system/webNews',
            // component: webNews,
            name: 'webNews',
            component: function (resolve) {require(['../components/system/webNews.vue'], resolve)},
            meta: {
                keepAlive: true
            }
        }, {
            path: 'system/webContact',
            // component: webContact,
            name: 'webContact',
            component: function (resolve) {require(['../components/system/webContact.vue'], resolve)}
        }]
    },
    {
        path: '/',
        component: Dashboard,
        children: [{
            path: 'dashboard/traineeCount',
            // component: traineeCount,
            component: function (resolve) {require(['../components/dashboard/trainee/traineeCount.vue'], resolve)}
        },
        {
            path: 'dashboard/traineeCountDetail/:id',
            // component: traineeCountDetail
            component: function (resolve) {require(['../components/dashboard/trainee/traineeCountDetail.vue'], resolve)}
        }, {
            path: 'dashboard/traineeLocation',
            // component: traineeLocation
            component: function (resolve) {require(['../components/dashboard/trainee/traineeLocation.vue'], resolve)}
        },
        {
            path: 'dashboard/traineeLocationDetail/:id',
            // component: traineeLocationDetail
            component: function (resolve) {require(['../components/dashboard/trainee/traineeLocationDetail.vue'], resolve)}
        }, {
            path: 'dashboard/traineeAge',
            // component: traineeAge
            component: function (resolve) {require(['../components/dashboard/trainee/traineeAge.vue'], resolve)}
        },
        {
            path: 'dashboard/traineeAgeDetail/:id',
            // component: traineeAgeDetail
            component: function (resolve) {require(['../components/dashboard/trainee/traineeAgeDetail.vue'], resolve)}
        }, {
            path: 'dashboard/traineeZhiwu',
            // component: traineeZhiwu
            component: function (resolve) {require(['../components/dashboard/trainee/traineeZhiwu.vue'], resolve)}
        },
        {
            path: 'dashboard/traineeZhiwuDetail/:id',
            // component: traineeZhiwuDetail
            component: function (resolve) {require(['../components/dashboard/trainee/traineeZhiwuDetail.vue'], resolve)}
        }, {
            path: 'dashboard/traineeAgework',
            // component: traineeAgework
            component: function (resolve) {require(['../components/dashboard/trainee/traineeAgework.vue'], resolve)}
        },
        {
            path: 'dashboard/traineeAgeworkDetail/:id',
            // component: traineeAgeworkDetail
            component: function (resolve) {require(['../components/dashboard/trainee/traineeAgeworkDetail.vue'], resolve)}
        }, {
            path: 'dashboard/traineeEducation',
            // component: traineeEducation
            component: function (resolve) {require(['../components/dashboard/trainee/traineeEducation.vue'], resolve)}
        },
        {
            path: 'dashboard/traineeEducationDetail/:id',
            // component: traineeEducationDetail
            component: function (resolve) {require(['../components/dashboard/trainee/traineeEducationDetail.vue'], resolve)}
        }, {
            path: 'dashboard/traineeCrewtype',
            // component: traineeCrewtype
            component: function (resolve) {require(['../components/dashboard/trainee/traineeCrewtype.vue'], resolve)}
        },
        {
            path: 'dashboard/traineeCrewtypeDetail/:id',
            // component: traineeCrewtypeDetail
            component: function (resolve) {require(['../components/dashboard/trainee/traineeCrewtypeDetail.vue'], resolve)}
        }, {
            path: 'dashboard/traineeSelf',
            // component: traineeSelf
            component: function (resolve) {require(['../components/dashboard/trainee/traineeSelf.vue'], resolve)}
        },
        {
            path: 'dashboard/traineeSelfDetail/:id',
            // component: traineeSelfDetail
            component: function (resolve) {require(['../components/dashboard/trainee/traineeSelfDetail.vue'], resolve)}
        }, {
            path: 'dashboard/traineeCourse',
            // component: traineeCourse
            component: function (resolve) {require(['../components/dashboard/trainee/traineeCourse.vue'], resolve)}
        },
        {
            path: 'dashboard/traineeCourseDetail/:id',
            // component: traineeCourseDetail
            component: function (resolve) {require(['../components/dashboard/trainee/traineeCourseDetail.vue'], resolve)}
        }, {
            path: 'dashboard/traineeFeedback',
            // component: traineeFeedback
            component: function (resolve) {require(['../components/dashboard/trainee/traineeFeedback.vue'], resolve)}
        },
        {
            path: 'dashboard/traineeFeedbackDetail/:course/:id',
            // component: traineeFeedbackDetail
            component: function (resolve) {require(['../components/dashboard/trainee/traineeFeedbackDetail.vue'], resolve)}
        },]
    },
    {
        path: '/',
        component: Dashboard,
        children: [{
            path: 'dashboard/customer/recommendList/:id/:num',
            // component: recommendList,
            component: function (resolve) {require(['../components/dashboard/customer/recommendList.vue'], resolve)}
        }, {
            path: 'dashboard/customerPay',
            // component: customerPay
            component: function (resolve) {require(['../components/dashboard/customer/customerPay.vue'], resolve)}
        },
        {
            path: 'dashboard/customerPayDetail/:id',
            // component: customerPayDetail
            component: function (resolve) {require(['../components/dashboard/customer/customerPayDetail.vue'], resolve)}
        }, {
            path: 'dashboard/customerTraining',
            // component: customerTraining
            component: function (resolve) {require(['../components/dashboard/customer/customerTraining.vue'], resolve)}
        },
        {
            path: 'dashboard/customerTrainingDetail/:id',
            // component: customerTrainingDetail
            component: function (resolve) {require(['../components/dashboard/customer/customerTrainingDetail.vue'], resolve)}
        }, {
            path: 'dashboard/customerTrainee',
            // component: customerTrainee
            component: function (resolve) {require(['../components/dashboard/customer/customerTrainee.vue'], resolve)}
        },
        {
            path: 'dashboard/customerTraineeDetail/:customer/:id',
            // component: customerTraineeDetail
            component: function (resolve) {require(['../components/dashboard/customer/customerTraineeDetail.vue'], resolve)}
        }, {
            path: 'dashboard/customerNew',
            // component: customerNew
            component: function (resolve) {require(['../components/dashboard/customer/customerNew.vue'], resolve)}
        },
        {
            path: 'dashboard/customerNewDetail/:id',
            // component: customerNewDetail
            component: function (resolve) {require(['../components/dashboard/customer/customerNewDetail.vue'], resolve)}
        }, {
            path: 'dashboard/customerChuandong',
            // component: customerChuandong
            component: function (resolve) {require(['../components/dashboard/customer/customerChuandong.vue'], resolve)}
        },
        {
            path: 'dashboard/customerChuandongDetail/:id',
            // component: customerChuandongDetail
            component: function (resolve) {require(['../components/dashboard/customer/customerChuandongDetail.vue'], resolve)}
        }, {
            path: 'dashboard/customerDaili',
            // component: customerDaili
            component: function (resolve) {require(['../components/dashboard/customer/customerDaili.vue'], resolve)}
        },
        {
            path: 'dashboard/customerDailiDetail/:id',
            // component: customerDailiDetail
            component: function (resolve) {require(['../components/dashboard/customer/customerDailiDetail.vue'], resolve)}
        }, {
            path: 'dashboard/customerLocation',
            // component: customerLocation
            component: function (resolve) {require(['../components/dashboard/customer/customerLocation.vue'], resolve)}
        },
        {
            path: 'dashboard/customerLocationDetail/:id',
            // component: customerLocationDetail
            component: function (resolve) {require(['../components/dashboard/customer/customerLocationDetail.vue'], resolve)}
        }, {
            path: 'dashboard/customerCrewtype',
            // component: customerCrewtype
            component: function (resolve) {require(['../components/dashboard/customer/customerCrewtype.vue'], resolve)}
        },
        {
            path: 'dashboard/customerCrewtypeDetail/:id',
            // component: customerCrewtypeDetail
            component: function (resolve) {require(['../components/dashboard/customer/customerCrewtypeDetail.vue'], resolve)}
        }, {
            path: 'dashboard/customerCourse',
            // component: customerCourse
            component: function (resolve) {require(['../components/dashboard/customer/customerCourse.vue'], resolve)}
        },
        {
            path: 'dashboard/customerCourseDetail/:id',
            // component: customerCourseDetail
            component: function (resolve) {require(['../components/dashboard/customer/customerCourseDetail.vue'], resolve)}
        }, {
            path: 'dashboard/customerFeedback',
            // component: customerFeedback
            component: function (resolve) {require(['../components/dashboard/customer/customerFeedback.vue'], resolve)}
        },
        {
            path: 'dashboard/customerFeedbackDetail/:course/:id',
            // component: customerFeedbackDetail
            component: function (resolve) {require(['../components/dashboard/customer/customerFeedbackDetail.vue'], resolve)}
        }, {
            path: 'dashboard/customerBaifang',
            // component: customerBaifang
            component: function (resolve) {require(['../components/dashboard/customer/customerBaifang.vue'], resolve)}
        },
        {
            path: 'dashboard/customerBaifangDetail/:id',
            // component: customerBaifangDetail
            component: function (resolve) {require(['../components/dashboard/customer/customerBaifangDetail.vue'], resolve)}
        }, {
            path: 'dashboard/customerActivity',
            // component: customerActivity
            component: function (resolve) {require(['../components/dashboard/customer/customerActivity.vue'], resolve)}
        },
        {
            path: 'dashboard/customerActivityDetail/:id',
            // component: customerActivityDetail
            component: function (resolve) {require(['../components/dashboard/customer/customerActivityDetail.vue'
        ], resolve)}
        },]
    },
    {
        path: '/',
        component: Dashboard,
        children: [{
            path: 'dashboard/courseIncome',
            // component: courseIncome
            component: function (resolve) {require(['../components/dashboard/course/courseIncome.vue'], resolve)}
        },
        {
            path: 'dashboard/courseIncomeDetail/:id',
            // component: courseIncomeDetail
            component: function (resolve) {require(['../components/dashboard/course/courseIncomeDetail.vue'], resolve)}
        },
        {
            path: 'dashboard/studentPay/:id',
            // component: studentPay
            component: function (resolve) {require(['../components/dashboard/course/studentPay.vue'], resolve)}
        },
        {
            path: 'dashboard/courseCertificate',
            // component: courseCertificate
            component: function (resolve) {require(['../components/dashboard/course/courseCertificate.vue'], resolve)}
        },
        {
            path: 'dashboard/courseCertificateDetail/:date',
            // component: courseCertificateDetail
            component: function (resolve) {require(['../components/dashboard/course/courseCertificateDetail.vue'], resolve)}
        },
        {
            path: 'dashboard/courseSimulator',
            // component: courseSimulator
            component: function (resolve) {require(['../components/dashboard/course/courseSimulator.vue'], resolve)}
        },
        {
            path: 'dashboard/courseSimulatorDetail/:id',
            // component: courseSimulatorDetail
            component: function (resolve) {require(['../components/dashboard/course/courseSimulatorDetail.vue'], resolve)}
        },
        {
            path: 'dashboard/courseTypeIncome',
            // component: courseTypeIncome
            component: function (resolve) {require(['../components/dashboard/course/courseTypeIncome.vue'], resolve)}
        },
        {
            path: 'dashboard/courseTypeIncomeDetail/:id',
            // component: courseTypeIncomeDetail
            component: function (resolve) {require(['../components/dashboard/course/courseTypeIncomeDetail.vue'], resolve)}
        },{
            path: 'dashboard/courseCost',
            // component: courseCost
            component: function (resolve) {require(['../components/dashboard/course/courseCost.vue'], resolve)}
          },{
            path: 'dashboard/courseCostDetail/:id',
            // component: courseCostDetail
            component: function (resolve) {require(['../components/dashboard/course/courseCostDetail.vue'], resolve)}
          },{
            path: 'dashboard/courseReturn',
            // component: courseReturn
            component: function (resolve) {require(['../components/dashboard/course/courseReturn.vue'], resolve)}
          },{
            path: 'dashboard/courseReturnDetail/:id',
            // component: courseReturnDetail
            component: function (resolve) {require(['../components/dashboard/course/courseReturnDetail.vue'], resolve)}
          },]
    },
    {
        path: '/',
        component: Dashboard,
        children: [{
            path: 'dashboard/classroomIncome',
            // component: classroomIncome
            component: function (resolve) {require(['../components/dashboard/facility/classroomIncome.vue'], resolve)}
        },
        {
            path: 'dashboard/classroomIncomeDetail/:id',
            // component: classroomIncomeDetail
            component: function (resolve) {require(['../components/dashboard/facility/classroomIncomeDetail.vue'], resolve)}
        },{
            path: 'dashboard/classroomVacancy',
            // component: classroomVacancy
            component: function (resolve) {require(['../components/dashboard/facility/classroomVacancy.vue'], resolve)}
          },{
            path: 'dashboard/classroomVacancyDetail/:id',
            // component: classroomVacancyDetail
            component: function (resolve) {require(['../components/dashboard/facility/classroomVacancyDetail.vue'], resolve)}
          },{
            path: 'dashboard/simulatorVacancy',
            // component: simulatorVacancy
            component: function (resolve) {require(['../components/dashboard/facility/simulatorVacancy.vue'], resolve)}
          },{
            path: 'dashboard/simulatorVacancyDetail/:id',
            // component: simulatorVacancyDetail
            component: function (resolve) {require(['../components/dashboard/facility/simulatorVacancyDetail.vue'], resolve)}
          },]
    },
    {
        path: '/',
        component: Dashboard,
        children: [{
            path: 'dashboard/trainerHour',
            // component: trainerHour
            component: function (resolve) {require(['../components/dashboard/trainer/trainerHour.vue'], resolve)}
        },
        {
            path: 'dashboard/trainerHourDetail/:id',
            // component: trainerHourDetail
            component: function (resolve) {require(['../components/dashboard/trainer/trainerHourDetail.vue'], resolve)}
        },{
            path: 'dashboard/trainerCourseNum',
            // component: trainerCourseNum
            component: function (resolve) {require(['../components/dashboard/trainer/trainerCourseNum.vue'], resolve)}
        },
        {
            path: 'dashboard/trainerCourseNumDetail/:id/:num',
            // component: trainerCourseNumDetail
            component: function (resolve) {require(['../components/dashboard/trainer/trainerCourseNumDetail.vue'], resolve)}
        },{
            path: 'dashboard/trainerTraining',
            // component: trainerTraining
            component: function (resolve) {require(['../components/dashboard/trainer/trainerTraining.vue'], resolve)}
        },
        {
            path: 'dashboard/trainerTrainingDetail/:num',
            // component: trainerTrainingDetail
            component: function (resolve) {require(['../components/dashboard/trainer/trainerTrainingDetail.vue'], resolve)}
        },{
            path: 'dashboard/trainerVacancy',
            // component: trainerVacancy
            component: function (resolve) {require(['../components/dashboard/trainer/trainerVacancy.vue'], resolve)}
          },{
            path: 'dashboard/trainerVacancyDetail/:id',
            // component: trainerVacancyDetail
            component: function (resolve) {require(['../components/dashboard/trainer/trainerVacancyDetail.vue'], resolve)}
          }]
    },
    {
        path: '/',
        component: Dashboard,
        children: [{
            path: 'dashboard/supplier',
            // component: supplier
            component: function (resolve) {require(['../components/dashboard/operation/supplier.vue'], resolve)}
        },{
            path: 'dashboard/supplierDetail/:id',
            // component: supplierDetail
            component: function (resolve) {require(['../components/dashboard/operation/supplierDetail.vue'], resolve)}
        }]
    },
    {
        path: '/',
        component: Home,
        children: [{
            path: 'primary/homepage',
            component: homepage
            
        }, {
            path: 'primary/individual',
            component: individual
        }, {
            path: 'primary/information',
            component: information
        }]
    }, {
        path: '/',
        component: Home,
        children: [{
            path: 'studentSearch',
            // component: studentSreach,
            name: 'studentSreach',
            component: function (resolve) {require(['../components/common/studentSreach.vue'], resolve)}
        }, {
            path: 'courseSearch',
            // component: courseSearch,
            name: 'courseSearch',
            component: function (resolve) {require(['../components/common/courseSearch.vue'], resolve)}
        }]
    },
    ]
})